//
//  DKNewViewController.m
//  BS1
//
//  Created by 丁侃 on 16/4/23.
//  Copyright © 2016年 丁侃. All rights reserved.
//

#import "DKNewViewController.h"

@interface DKNewViewController ()

@end

@implementation DKNewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = DKRandomColor;
    
    //将设置导航栏内容抽取
    [self setupNavContent];
}


//将设置导航栏内容抽取
-(void)setupNavContent
{
    //添加titleView
    self.navigationItem.titleView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"MainTitle"]];
    
    //添加左按钮
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem dk_itemWithTarget:self ation:@selector(tagClick) ImageNameNormal:@"MainTagSubIcon" imageNameHighlighted:@"MainTagSubIconClick"];
}


-(void)tagClick
{
    DKFunc
}
@end
